package com.sddz.pacs.entity;

import java.util.Date;
import com.baomidou.mybatisplus.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;

/**
 * <p>
 * 健康体检人员信息表
 * </p>
 *
 * @author 时代电子
 * @since 2018-09-10
 */
public class HealthUser extends Model<HealthUser> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private String id;

    /**
     * 用户姓名
     */
    private String name;

    /**
     * 年龄
     */
    private Integer age;

    /**
     * 性别
     */
    private String gender;

    /**
     * 证件类型 1.身份证 2.健康卡
     */
    private String idType;

    /**
     * 证件号码
     */
    private String idCard;

    /**
     * 联系方式
     */
    private String tel;

    /**
     * 家庭住址
     */
    private String homeAddr;

    /**
     * 服务站ID
     */
    private String stationId;

    /**
     * 创建时间/提交时间
     */
    //@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Date createDate;

    public String getFileNumber() {
        return fileNumber;
    }

    public void setFileNumber(String fileNumber) {
        this.fileNumber = fileNumber;
    }

    /**
     * 档案编号
     */
    private String fileNumber;

    /**
     * 状态  0 桥西区居民 1.桥东区居民
     */
    private String state;


    private String stationName;

    public String getStationName() {
        return stationName;
    }

    public void setStationName(String stationName) {
        this.stationName = stationName;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }
    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }
    public String getIdType() {
        return idType;
    }

    public void setIdType(String idType) {
        this.idType = idType;
    }
    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }
    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }
    public String getHomeAddr() {
        return homeAddr;
    }

    public void setHomeAddr(String homeAddr) {
        this.homeAddr = homeAddr;
    }
    public String getStationId() {
        return stationId;
    }

    public void setStationId(String stationId) {
        this.stationId = stationId;
    }
    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "HealthUser{" +
        "id=" + id +
        ", name=" + name +
        ", age=" + age +
        ", gender=" + gender +
        ", idType=" + idType +
        ", idCard=" + idCard +
        ", tel=" + tel +
        ", homeAddr=" + homeAddr +
        ", stationId=" + stationId +
        ", createDate=" + createDate +
        ", fileNumber=" + fileNumber +
        ", state=" + state +
         ", stationName=" + stationName +
        "}";
    }
}
